ngl: Be explicit about offscreen clipping
authorMatthias Clasen <mclasen@redhat.com>
Wed, 31 Mar 2021 18:34:16 +0000 (14:34 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 31 Mar 2021 18:34:16 +0000 (14:34 -0400)
Explicitly set all the input arguments.
This makes it clearer what is going on.

gsk/ngl/gsknglrenderjob.c

index 93b06c38f6f94ca815d86d21a812ebf74973049c..08e99a7d196be43c2fd8729b28fd85a0a9f68c98 100644 (file)
@@ -1605,6 +1605,7 @@ gsk_ngl_render_job_visit_rounded_clip_node (GskNglRenderJob     *job,
 
       offscreen.bounds = &node->bounds;
       offscreen.force_offscreen = TRUE;
+      offscreen.reset_clip = FALSE;
 
       gsk_ngl_render_job_push_clip (job, &transformed_clip);
       if (!gsk_ngl_render_job_visit_node_with_offscreen (job, child, &offscreen))